package com.xframe.domain.e3sp.basedata;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.*;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description: SC
 * @ClassName: com.xframe.domain.e3sp.basedata.Sc
 * @Author: lmx
 * @CreateTime: 2024/01/02
 **/
@Data
@Accessors(chain=true)
@XTable(value = "p_t01_sc", label = "SC")
@XSelectItem(keyName = "scId",codeName = "sc",textName = "nameCn")
@XSelectItem(keyName = "scId",codeName = "sc",textName = "nameEn",language = "en")
public class Sc extends BaseModel {
    /**
     * SCID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "sc_id", primaryKeyFlag = true,desc = "SCID")
    private Long scId;

    /**
     * SC
     */
    @XQueryCondition
    @XColumn(name = "sc", uniqueFlag = true,desc = "SC",length = 200)
    private String sc;


    /**
     * 中文名称
     */
    @XQueryCondition
    @XColumn(name = "name_cn",desc = "中文名称",length = 200)
    private String nameCn;

    /**
     * 英文名称
     */
    @XQueryCondition
    @XColumn(name = "name_en",desc = "英文名称",length = 200,nullFlag = true)
    private String nameEn;

    /**
     * 备注
     */
    @XColumn(name = "remark",desc = "备注",length = 500,nullFlag = true)
    private String remark;



}
